package org.example.springboot.service;

import org.example.springboot.entity.PageEntity;
import org.example.springboot.entity.ShopCart;

import java.util.List;

public interface ShopCartService {

    int addShopCart(ShopCart shopCart);

    int deleteShopCart(String id);

    ShopCart getShopCartById(String id);

    List<ShopCart> getAllShopCarts();

    int updateShopCart(ShopCart shopCart);

    PageEntity<ShopCart> findShopCartPage(Integer current, Integer pageSize);
}
